const refSym = Symbol.for("nodejs.ref");
/**
 * @typedef {typeof refSym} RefSym
 */

const maybeRefable = {
  [refSym]: true,
};

process.ref(maybeRefable);

/** @template [const in T={}] */
class Cache {
  /** @param {T} initial */
  constructor(initial) {
    /** @type {T} */
    this.value = initial;
  }
}
const c = new Cache(1);
